//
//  BKCMShoppingCarListModel.h
//  bestkeep
//
//  Created by 毛韶谦 on 2017/1/16.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>

//购物车数组模型
@interface BKCMGoodsDetailModel : NSObject

@property(nonatomic, assign) BOOL success;
@property(nonatomic, strong) NSString *msg;           //返回消息
@property(nonatomic, strong) NSString *code;          //返回编码
@property(nonatomic, strong) NSString *deliver;       // "xxx,发货地",
@property(nonatomic, strong) NSString *deliverId;      //"xxx发货仓库Id",
@property(nonatomic, strong) NSString *record_id;     //购物车记录id
@property(nonatomic, strong) NSString *good_id;       //商品ID
@property(nonatomic, strong) NSString *goods_img;     //商品图片
@property(nonatomic, strong) NSString *goods_name;    //商品名称
@property(nonatomic, strong) NSString *member_price;  // 会员价
@property(nonatomic, strong) NSString *userPrice;     // 用户出价
@property(nonatomic, strong) NSString *sendDate_param;// "xxx回传日期 2016-06-06",
@property(nonatomic, strong) NSString *goods_share_amount;// 商品导购金
@property(nonatomic, strong) NSString *goods_price;// 商品平台价
@property(nonatomic, strong) NSString *member_share_amount;// 会员导购价
@property(nonatomic, strong) NSString *sendDateStr;// 货物发货日
@property(nonatomic, strong) NSString *tax_amount;// 糖赋数量
@property(nonatomic, strong) NSString *amount;// 商品数量
@property(nonatomic, strong) NSString *sale_property; //"xxx销售描述,例：颜色:黑色 尺码:S",
@property(nonatomic, strong) NSString *goods_reserve_id; // 库存ID
@property(nonatomic, strong) NSString *signCustomsAmount; //海关税
@property(nonatomic, strong) NSString *stockShareCode; // "xxx囤货分享码",
/*===自定义记录属性====*/
@property(nonatomic, assign) BOOL buyEarth;//0:非全球购，1：全球购;
@property(nonatomic, assign) BOOL isEdit;// cell的编辑状态
@property(nonatomic, assign) BOOL isCellBtnSelect; // cell的选中状态
@property(nonatomic, assign) BOOL shopcart_flag;// 商品是否过期；//有效标示：true、有效，false：无效
@property(nonatomic, assign) BOOL singleDeliver; //是否单独发货，
@property(nonatomic, assign) BOOL thNormalType; // "0/1,是否囤货普通预购，1：是，0：否",
@property(nonatomic, strong) NSString *storeId; //"小店Id"
@property(nonatomic, strong) NSString *shopKeeper;//"小店店主账号", 

/**
 *  购物车推荐列表
 */
@property (nonatomic,strong) NSString *totalPage;
@property (nonatomic,strong) NSString *currentPage;
@property (nonatomic,strong) NSString *status;  //商品状态1：上架，4：即将上线
@property (nonatomic,strong) NSString *channelType;   //商品渠道[1:国内商品，2：跨境淘，3：有糖自营，4：有糖众筹]
@property (nonatomic,strong) NSString *goodsMarketPrice; //市场价格；
@property (nonatomic,strong) NSString *upText;   //起；

@end


@interface BKCMRecommendGoodsModel : NSObject

@property(nonatomic,assign) BOOL global_status1;//0:非跨境淘，1：跨境淘;
@property(nonatomic,retain) NSString *address;
@property(nonatomic,strong) NSMutableArray* shopList;
@property(nonatomic,assign) BOOL isShopcart_flag; //所以商品是否过期；  YES 为全部失效

//@property(nonatomic,strong) NSString *deliverId; //deliverId

/**
 *  购物车推荐列表
 */
@property (nonatomic,strong) NSString *totalPage;
@property (nonatomic,strong) NSString *currentPage;



@end

@interface ShoppingCarCommon : NSObject

@property(nonatomic) BOOL success;
@property(nonatomic,copy) NSString *msg;
@property(nonatomic,copy) NSString *code;
@property(nonatomic,retain)NSDictionary *data;
@property (nonatomic,copy) NSString *status;
@end
//{
//    "success": "true/false //成功/失败",
//    "msg": "xxx //返回消息",
//    "resultCode": "xxx //返回编码",
//    "data":
//    {
//        "totalPage": "xxx//总页数",
//        "currentPage": "xx//当前页",
//        "list":
//        [
//         {
//             "goodsId": "xxx//商品id",
//             "goodsName": "xx//商品名称",
//             "goodsCoverImg": "xxx//封面图",
//             "status": "xxxx//商品状态1：上架，4：即将上线",
//             "goodsPrice": "xxx//商品价格（会员价+糖赋）",
//             "goodsMarketPrice": "xxx//商品市场价",
//             "upText": "xxx//商品是否固定出价:是upText=‘起’,否upText=‘’",
//             "channelType": "xx //商品渠道[1:国内商品，2:全球购，3:有糖自营，4：有糖众筹]",
//         }
//         ]
//    }
//}


//{
//    "success": "true/false成功/失败",
//    "msg": "xxx返回消息",
//    "code": "xxx返回编码",
//    "data":
//    {
//        "list":
//        [
//         {
//             "deliver": "xxx,发货地",
//             "deliverId": "xxx发货仓库Id",
//             "global_status": "xxx,0:非全球购，1:全球购",
//             "item_list":
//             [
//              {
//                  "id": "xxx购物车记录ID",
//                  "goods_id": "xxx商品ID",
//                  "goods_img": "xxx,商品图片",
//                  "goods_name": "xxx,商品名称",
//                  "member_price": "xxx,会员价",
//                  "tax_amount": "xxx,糖赋",
//                  "goods_price": "xxx商品平台价格",
//                  "goods_share_amount": "xxx商品导购金",
//                  "member_share_amount": "xxx当前用户导购金",
//                  "amount": "xxx商品数量",
//                  "sale_property": "xxx销售描述,例：颜色:黑色 尺码:S",
//                  "global_status": "0: 非全球购，1:全球购",
//                  "goods_reserve_id": "xxx库存id",
//                  "singleDeliver": "xxx是否单独发货 1:是 ,0:否",
//                  "linePost_taxAmount": "xxx商品海关税",
//                  "sendDateStr": "xxx发货日期2016-06-06",
//                  "sendDate_param": "xxx回传日期 2016-06-06",
//                  "userPrice": "xxx用户出价",
//                  "shopcart_flag": "xxx有效标示：true、有效，false：无效",
//                  "stockShareCode": "xxx囤货分享码",
//                  "thNormalType": "0/1,是否囤货普通预购，1：是，0：否",
//              }
//              ]
//         }
//         ]
//    }
//}
